﻿namespace com.huawei.esdk.tp.professional.eSDKTPProfessionalConfCtrl
{
    using System;
    using System.Web.Services;
    using System.Diagnostics;
    using System.Web.Services.Protocols;
    using System.ComponentModel;
    using System.Xml.Serialization;
    using com.huawei.esdk.tp.professional.DataType;


    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    [System.Web.Services.WebServiceBindingAttribute(Name = "TPProfessionalConfCtrServiceSoapBinding", Namespace = "http://smc.huawei.com/")]
    public partial class TPProfessionalConfCtrService : System.Web.Services.Protocols.SoapHttpClientProtocol
    {

        private System.Threading.SendOrPostCallback setConfSiteVolumeExOperationCompleted;

        private System.Threading.SendOrPostCallback unlockPresentationExOperationCompleted;

        private System.Threading.SendOrPostCallback setBroadcastContinuousPresenceExOperationCompleted;

        private System.Threading.SendOrPostCallback setSitesQuietExOperationCompleted;

        private System.Threading.SendOrPostCallback hideConfSiteLocalVideoExOperationCompleted;

        private System.Threading.SendOrPostCallback setAudioSwitchExOperationCompleted;

        private System.Threading.SendOrPostCallback setFloorExOperationCompleted;

        private System.Threading.SendOrPostCallback setBroadcastSiteExOperationCompleted;

        private System.Threading.SendOrPostCallback lockPresentationExOperationCompleted;

        private System.Threading.SendOrPostCallback setContinuousPresenceExOperationCompleted;

        private System.Threading.SendOrPostCallback setVideoSourceExOperationCompleted;

        private System.Threading.SendOrPostCallback setSitesMuteExOperationCompleted;

        private System.Threading.SendOrPostCallback requestConfChairExOperationCompleted;

        private System.Threading.SendOrPostCallback displayConfSiteLocalVideoExOperationCompleted;

        private System.Threading.SendOrPostCallback releaseConfChairExOperationCompleted;

        //private bool useDefaultCredentialsSetExplicitly;

        /// <remarks/>
        public TPProfessionalConfCtrService()
        {
            //this.Url = global::esdk_tp_native_professional_cs.Properties.Settings.Default.esdk_tp_native_professional_cs_tpProfessionalConfCtrl_TPProfessionalConfCtrService;
            //if ((this.IsLocalFileSystemWebService(this.Url) == true))
            //{
            //    this.UseDefaultCredentials = true;
            //    this.useDefaultCredentialsSetExplicitly = false;
            //}
            //else
            //{
            //    this.useDefaultCredentialsSetExplicitly = true;
            //}
            this.Url = "http://localhost:8080/";
        }

        public TPProfessionalConfCtrService(string url)
        {
            this.Url = url;
        }

        /// <remarks/>
        public event setConfSiteVolumeExCompletedEventHandler setConfSiteVolumeExCompleted;
        
        /// <remarks/>
        public event unlockPresentationExCompletedEventHandler unlockPresentationExCompleted;

        /// <remarks/>
        public event setBroadcastContinuousPresenceExCompletedEventHandler setBroadcastContinuousPresenceExCompleted;

        /// <remarks/>
        public event setSitesQuietExCompletedEventHandler setSitesQuietExCompleted;

        /// <remarks/>
        public event hideConfSiteLocalVideoExCompletedEventHandler hideConfSiteLocalVideoExCompleted;

        /// <remarks/>
        public event setAudioSwitchExCompletedEventHandler setAudioSwitchExCompleted;

        /// <remarks/>
        public event setFloorExCompletedEventHandler setFloorExCompleted;

        /// <remarks/>
        public event setBroadcastSiteExCompletedEventHandler setBroadcastSiteExCompleted;

        /// <remarks/>
        public event lockPresentationExCompletedEventHandler lockPresentationExCompleted;

        /// <remarks/>
        public event setContinuousPresenceExCompletedEventHandler setContinuousPresenceExCompleted;

        /// <remarks/>
        public event setVideoSourceExCompletedEventHandler setVideoSourceExCompleted;

        /// <remarks/>
        public event setSitesMuteExCompletedEventHandler setSitesMuteExCompleted;

        /// <remarks/>
        public event requestConfChairExCompletedEventHandler requestConfChairExCompleted;

        /// <remarks/>
        public event displayConfSiteLocalVideoExCompletedEventHandler displayConfSiteLocalVideoExCompleted;

        /// <remarks/>
        public event releaseConfChairExCompletedEventHandler releaseConfChairExCompleted;

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/setConfSiteVolumeEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int setConfSiteVolumeEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, [System.Xml.Serialization.XmlElementAttribute("siteVolumes", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] SiteVolumeEx[] siteVolumes)
        {
            object[] results = this.Invoke("setConfSiteVolumeEx", new object[] {
                        confId,
                        siteVolumes});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void setConfSiteVolumeExAsync(string confId, SiteVolumeEx[] siteVolumes)
        {
            this.setConfSiteVolumeExAsync(confId, siteVolumes, null);
        }

        /// <remarks/>
        public void setConfSiteVolumeExAsync(string confId, SiteVolumeEx[] siteVolumes, object userState)
        {
            if ((this.setConfSiteVolumeExOperationCompleted == null))
            {
                this.setConfSiteVolumeExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsetConfSiteVolumeExOperationCompleted);
            }
            this.InvokeAsync("setConfSiteVolumeEx", new object[] {
                        confId,
                        siteVolumes}, this.setConfSiteVolumeExOperationCompleted, userState);
        }

        private void OnsetConfSiteVolumeExOperationCompleted(object arg)
        {
            if ((this.setConfSiteVolumeExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.setConfSiteVolumeExCompleted(this, new setConfSiteVolumeExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/unlockPresentationEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int unlockPresentationEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId)
        {
            object[] results = this.Invoke("unlockPresentationEx", new object[] {
                        confId});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void unlockPresentationExAsync(string confId)
        {
            this.unlockPresentationExAsync(confId, null);
        }

        /// <remarks/>
        public void unlockPresentationExAsync(string confId, object userState)
        {
            if ((this.unlockPresentationExOperationCompleted == null))
            {
                this.unlockPresentationExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnunlockPresentationExOperationCompleted);
            }
            this.InvokeAsync("unlockPresentationEx", new object[] {
                        confId}, this.unlockPresentationExOperationCompleted, userState);
        }

        private void OnunlockPresentationExOperationCompleted(object arg)
        {
            if ((this.unlockPresentationExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.unlockPresentationExCompleted(this, new unlockPresentationExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/setBroadcastContinuousPresenceEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int setBroadcastContinuousPresenceEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] int isBroadcast)
        {
            object[] results = this.Invoke("setBroadcastContinuousPresenceEx", new object[] {
                        confId,
                        isBroadcast});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void setBroadcastContinuousPresenceExAsync(string confId, int isBroadcast)
        {
            this.setBroadcastContinuousPresenceExAsync(confId, isBroadcast, null);
        }

        /// <remarks/>
        public void setBroadcastContinuousPresenceExAsync(string confId, int isBroadcast, object userState)
        {
            if ((this.setBroadcastContinuousPresenceExOperationCompleted == null))
            {
                this.setBroadcastContinuousPresenceExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsetBroadcastContinuousPresenceExOperationCompleted);
            }
            this.InvokeAsync("setBroadcastContinuousPresenceEx", new object[] {
                        confId,
                        isBroadcast}, this.setBroadcastContinuousPresenceExOperationCompleted, userState);
        }

        private void OnsetBroadcastContinuousPresenceExOperationCompleted(object arg)
        {
            if ((this.setBroadcastContinuousPresenceExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.setBroadcastContinuousPresenceExCompleted(this, new setBroadcastContinuousPresenceExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/setSitesQuietEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int setSitesQuietEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, [System.Xml.Serialization.XmlElementAttribute("siteUris", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] siteUris, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] int isQuiet)
        {
            object[] results = this.Invoke("setSitesQuietEx", new object[] {
                        confId,
                        siteUris,
                        isQuiet});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void setSitesQuietExAsync(string confId, string[] siteUris, int isQuiet)
        {
            this.setSitesQuietExAsync(confId, siteUris, isQuiet, null);
        }

        /// <remarks/>
        public void setSitesQuietExAsync(string confId, string[] siteUris, int isQuiet, object userState)
        {
            if ((this.setSitesQuietExOperationCompleted == null))
            {
                this.setSitesQuietExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsetSitesQuietExOperationCompleted);
            }
            this.InvokeAsync("setSitesQuietEx", new object[] {
                        confId,
                        siteUris,
                        isQuiet}, this.setSitesQuietExOperationCompleted, userState);
        }

        private void OnsetSitesQuietExOperationCompleted(object arg)
        {
            if ((this.setSitesQuietExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.setSitesQuietExCompleted(this, new setSitesQuietExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/hideConfSiteLocalVideoEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int hideConfSiteLocalVideoEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, [System.Xml.Serialization.XmlElementAttribute("siteUris", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] siteUris)
        {
            object[] results = this.Invoke("hideConfSiteLocalVideoEx", new object[] {
                        confId,
                        siteUris});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void hideConfSiteLocalVideoExAsync(string confId, string[] siteUris)
        {
            this.hideConfSiteLocalVideoExAsync(confId, siteUris, null);
        }

        /// <remarks/>
        public void hideConfSiteLocalVideoExAsync(string confId, string[] siteUris, object userState)
        {
            if ((this.hideConfSiteLocalVideoExOperationCompleted == null))
            {
                this.hideConfSiteLocalVideoExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnhideConfSiteLocalVideoExOperationCompleted);
            }
            this.InvokeAsync("hideConfSiteLocalVideoEx", new object[] {
                        confId,
                        siteUris}, this.hideConfSiteLocalVideoExOperationCompleted, userState);
        }

        private void OnhideConfSiteLocalVideoExOperationCompleted(object arg)
        {
            if ((this.hideConfSiteLocalVideoExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.hideConfSiteLocalVideoExCompleted(this, new hideConfSiteLocalVideoExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/setAudioSwitchEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int setAudioSwitchEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, 
            [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] int? switchGate, 
            [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlIgnoreAttribute()] bool switchGateSpecified, 
            [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] int isSwitch)
        {
            object[] results = this.Invoke("setAudioSwitchEx", new object[] {
                        confId,
                        switchGate,
                        switchGateSpecified,
                        isSwitch});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void setAudioSwitchExAsync(string confId, int switchGate, bool switchGateSpecified, int isSwitch)
        {
            this.setAudioSwitchExAsync(confId, switchGate, switchGateSpecified, isSwitch, null);
        }

        /// <remarks/>
        public void setAudioSwitchExAsync(string confId, int switchGate, bool switchGateSpecified, int isSwitch, object userState)
        {
            if ((this.setAudioSwitchExOperationCompleted == null))
            {
                this.setAudioSwitchExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsetAudioSwitchExOperationCompleted);
            }
            this.InvokeAsync("setAudioSwitchEx", new object[] {
                        confId,
                        switchGate,
                        switchGateSpecified,
                        isSwitch}, this.setAudioSwitchExOperationCompleted, userState);
        }

        private void OnsetAudioSwitchExOperationCompleted(object arg)
        {
            if ((this.setAudioSwitchExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.setAudioSwitchExCompleted(this, new setAudioSwitchExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/setFloorEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int setFloorEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string siteUri)
        {
            object[] results = this.Invoke("setFloorEx", new object[] {
                        confId,
                        siteUri});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void setFloorExAsync(string confId, string siteUri)
        {
            this.setFloorExAsync(confId, siteUri, null);
        }

        /// <remarks/>
        public void setFloorExAsync(string confId, string siteUri, object userState)
        {
            if ((this.setFloorExOperationCompleted == null))
            {
                this.setFloorExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsetFloorExOperationCompleted);
            }
            this.InvokeAsync("setFloorEx", new object[] {
                        confId,
                        siteUri}, this.setFloorExOperationCompleted, userState);
        }

        private void OnsetFloorExOperationCompleted(object arg)
        {
            if ((this.setFloorExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.setFloorExCompleted(this, new setFloorExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/setBroadcastSiteEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int setBroadcastSiteEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string siteUri, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] int isBroadcast)
        {
            object[] results = this.Invoke("setBroadcastSiteEx", new object[] {
                        confId,
                        siteUri,
                        isBroadcast});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void setBroadcastSiteExAsync(string confId, string siteUri, int isBroadcast)
        {
            this.setBroadcastSiteExAsync(confId, siteUri, isBroadcast, null);
        }

        /// <remarks/>
        public void setBroadcastSiteExAsync(string confId, string siteUri, int isBroadcast, object userState)
        {
            if ((this.setBroadcastSiteExOperationCompleted == null))
            {
                this.setBroadcastSiteExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsetBroadcastSiteExOperationCompleted);
            }
            this.InvokeAsync("setBroadcastSiteEx", new object[] {
                        confId,
                        siteUri,
                        isBroadcast}, this.setBroadcastSiteExOperationCompleted, userState);
        }

        private void OnsetBroadcastSiteExOperationCompleted(object arg)
        {
            if ((this.setBroadcastSiteExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.setBroadcastSiteExCompleted(this, new setBroadcastSiteExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/lockPresentationEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int lockPresentationEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string siteUri)
        {
            object[] results = this.Invoke("lockPresentationEx", new object[] {
                        confId,
                        siteUri});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void lockPresentationExAsync(string confId, string siteUri)
        {
            this.lockPresentationExAsync(confId, siteUri, null);
        }

        /// <remarks/>
        public void lockPresentationExAsync(string confId, string siteUri, object userState)
        {
            if ((this.lockPresentationExOperationCompleted == null))
            {
                this.lockPresentationExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnlockPresentationExOperationCompleted);
            }
            this.InvokeAsync("lockPresentationEx", new object[] {
                        confId,
                        siteUri}, this.lockPresentationExOperationCompleted, userState);
        }

        private void OnlockPresentationExOperationCompleted(object arg)
        {
            if ((this.lockPresentationExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.lockPresentationExCompleted(this, new lockPresentationExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/setContinuousPresenceEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int setContinuousPresenceEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string target, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] int presenceMode, [System.Xml.Serialization.XmlElementAttribute("subPics", Form = System.Xml.Schema.XmlSchemaForm.Unqualified, IsNullable = true)] string[] subPics)
        {
            object[] results = this.Invoke("setContinuousPresenceEx", new object[] {
                        confId,
                        target,
                        presenceMode,
                        subPics});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void setContinuousPresenceExAsync(string confId, string target, int presenceMode, string[] subPics)
        {
            this.setContinuousPresenceExAsync(confId, target, presenceMode, subPics, null);
        }

        /// <remarks/>
        public void setContinuousPresenceExAsync(string confId, string target, int presenceMode, string[] subPics, object userState)
        {
            if ((this.setContinuousPresenceExOperationCompleted == null))
            {
                this.setContinuousPresenceExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsetContinuousPresenceExOperationCompleted);
            }
            this.InvokeAsync("setContinuousPresenceEx", new object[] {
                        confId,
                        target,
                        presenceMode,
                        subPics}, this.setContinuousPresenceExOperationCompleted, userState);
        }

        private void OnsetContinuousPresenceExOperationCompleted(object arg)
        {
            if ((this.setContinuousPresenceExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.setContinuousPresenceExCompleted(this, new setContinuousPresenceExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/setVideoSourceEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int setVideoSourceEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, 
            [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string siteUri, 
            [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string videoSourceUri, 
            [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] int? isLock, 
            [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] [System.Xml.Serialization.XmlIgnoreAttribute()] bool isLockSpecified)
        {
            object[] results = this.Invoke("setVideoSourceEx", new object[] {
                        confId,
                        siteUri,
                        videoSourceUri,
                        isLock,
                        isLockSpecified});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void setVideoSourceExAsync(string confId, string siteUri, string videoSourceUri, int isLock, bool isLockSpecified)
        {
            this.setVideoSourceExAsync(confId, siteUri, videoSourceUri, isLock, isLockSpecified, null);
        }

        /// <remarks/>
        public void setVideoSourceExAsync(string confId, string siteUri, string videoSourceUri, int isLock, bool isLockSpecified, object userState)
        {
            if ((this.setVideoSourceExOperationCompleted == null))
            {
                this.setVideoSourceExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsetVideoSourceExOperationCompleted);
            }
            this.InvokeAsync("setVideoSourceEx", new object[] {
                        confId,
                        siteUri,
                        videoSourceUri,
                        isLock,
                        isLockSpecified}, this.setVideoSourceExOperationCompleted, userState);
        }

        private void OnsetVideoSourceExOperationCompleted(object arg)
        {
            if ((this.setVideoSourceExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.setVideoSourceExCompleted(this, new setVideoSourceExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/setSitesMuteEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int setSitesMuteEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, [System.Xml.Serialization.XmlElementAttribute("siteUris", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] siteUris, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] int isMute)
        {
            object[] results = this.Invoke("setSitesMuteEx", new object[] {
                        confId,
                        siteUris,
                        isMute});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void setSitesMuteExAsync(string confId, string[] siteUris, int isMute)
        {
            this.setSitesMuteExAsync(confId, siteUris, isMute, null);
        }

        /// <remarks/>
        public void setSitesMuteExAsync(string confId, string[] siteUris, int isMute, object userState)
        {
            if ((this.setSitesMuteExOperationCompleted == null))
            {
                this.setSitesMuteExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnsetSitesMuteExOperationCompleted);
            }
            this.InvokeAsync("setSitesMuteEx", new object[] {
                        confId,
                        siteUris,
                        isMute}, this.setSitesMuteExOperationCompleted, userState);
        }

        private void OnsetSitesMuteExOperationCompleted(object arg)
        {
            if ((this.setSitesMuteExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.setSitesMuteExCompleted(this, new setSitesMuteExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/requestConfChairEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int requestConfChairEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, [System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string chairmanUri)
        {
            object[] results = this.Invoke("requestConfChairEx", new object[] {
                        confId,
                        chairmanUri});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void requestConfChairExAsync(string confId, string chairmanUri)
        {
            this.requestConfChairExAsync(confId, chairmanUri, null);
        }

        /// <remarks/>
        public void requestConfChairExAsync(string confId, string chairmanUri, object userState)
        {
            if ((this.requestConfChairExOperationCompleted == null))
            {
                this.requestConfChairExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnrequestConfChairExOperationCompleted);
            }
            this.InvokeAsync("requestConfChairEx", new object[] {
                        confId,
                        chairmanUri}, this.requestConfChairExOperationCompleted, userState);
        }

        private void OnrequestConfChairExOperationCompleted(object arg)
        {
            if ((this.requestConfChairExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.requestConfChairExCompleted(this, new requestConfChairExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/displayConfSiteLocalVideoEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int displayConfSiteLocalVideoEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId, [System.Xml.Serialization.XmlElementAttribute("siteUris", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string[] siteUris)
        {
            object[] results = this.Invoke("displayConfSiteLocalVideoEx", new object[] {
                        confId,
                        siteUris});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void displayConfSiteLocalVideoExAsync(string confId, string[] siteUris)
        {
            this.displayConfSiteLocalVideoExAsync(confId, siteUris, null);
        }

        /// <remarks/>
        public void displayConfSiteLocalVideoExAsync(string confId, string[] siteUris, object userState)
        {
            if ((this.displayConfSiteLocalVideoExOperationCompleted == null))
            {
                this.displayConfSiteLocalVideoExOperationCompleted = new System.Threading.SendOrPostCallback(this.OndisplayConfSiteLocalVideoExOperationCompleted);
            }
            this.InvokeAsync("displayConfSiteLocalVideoEx", new object[] {
                        confId,
                        siteUris}, this.displayConfSiteLocalVideoExOperationCompleted, userState);
        }

        private void OndisplayConfSiteLocalVideoExOperationCompleted(object arg)
        {
            if ((this.displayConfSiteLocalVideoExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.displayConfSiteLocalVideoExCompleted(this, new displayConfSiteLocalVideoExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        [System.Web.Services.Protocols.SoapDocumentMethodAttribute("http://smc.huawei.com/releaseConfChairEx", RequestNamespace = "http://smc.huawei.com/", ResponseNamespace = "http://smc.huawei.com/", Use = System.Web.Services.Description.SoapBindingUse.Literal, ParameterStyle = System.Web.Services.Protocols.SoapParameterStyle.Wrapped)]
        [return: System.Xml.Serialization.XmlElementAttribute("resultCode", Form = System.Xml.Schema.XmlSchemaForm.Unqualified)]
        public int releaseConfChairEx([System.Xml.Serialization.XmlElementAttribute(Form = System.Xml.Schema.XmlSchemaForm.Unqualified)] string confId)
        {
            object[] results = this.Invoke("releaseConfChairEx", new object[] {
                        confId});
            return ((int)(results[0]));
        }

        /// <remarks/>
        public void releaseConfChairExAsync(string confId)
        {
            this.releaseConfChairExAsync(confId, null);
        }

        /// <remarks/>
        public void releaseConfChairExAsync(string confId, object userState)
        {
            if ((this.releaseConfChairExOperationCompleted == null))
            {
                this.releaseConfChairExOperationCompleted = new System.Threading.SendOrPostCallback(this.OnreleaseConfChairExOperationCompleted);
            }
            this.InvokeAsync("releaseConfChairEx", new object[] {
                        confId}, this.releaseConfChairExOperationCompleted, userState);
        }

        private void OnreleaseConfChairExOperationCompleted(object arg)
        {
            if ((this.releaseConfChairExCompleted != null))
            {
                System.Web.Services.Protocols.InvokeCompletedEventArgs invokeArgs = ((System.Web.Services.Protocols.InvokeCompletedEventArgs)(arg));
                this.releaseConfChairExCompleted(this, new releaseConfChairExCompletedEventArgs(invokeArgs.Results, invokeArgs.Error, invokeArgs.Cancelled, invokeArgs.UserState));
            }
        }

        /// <remarks/>
        public new void CancelAsync(object userState)
        {
            base.CancelAsync(userState);
        }

        private bool IsLocalFileSystemWebService(string url)
        {
            if (((url == null)
                        || (url == string.Empty)))
            {
                return false;
            }
            System.Uri wsUri = new System.Uri(url);
            if (((wsUri.Port >= 1024)
                        && (string.Compare(wsUri.Host, "localHost", System.StringComparison.OrdinalIgnoreCase) == 0)))
            {
                return true;
            }
            return false;
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void setConfSiteVolumeExCompletedEventHandler(object sender, setConfSiteVolumeExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class setConfSiteVolumeExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal setConfSiteVolumeExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void unlockPresentationExCompletedEventHandler(object sender, unlockPresentationExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class unlockPresentationExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal unlockPresentationExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void setBroadcastContinuousPresenceExCompletedEventHandler(object sender, setBroadcastContinuousPresenceExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class setBroadcastContinuousPresenceExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal setBroadcastContinuousPresenceExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void setSitesQuietExCompletedEventHandler(object sender, setSitesQuietExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class setSitesQuietExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal setSitesQuietExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void hideConfSiteLocalVideoExCompletedEventHandler(object sender, hideConfSiteLocalVideoExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class hideConfSiteLocalVideoExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal hideConfSiteLocalVideoExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void setAudioSwitchExCompletedEventHandler(object sender, setAudioSwitchExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class setAudioSwitchExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal setAudioSwitchExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void setFloorExCompletedEventHandler(object sender, setFloorExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class setFloorExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal setFloorExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void setBroadcastSiteExCompletedEventHandler(object sender, setBroadcastSiteExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class setBroadcastSiteExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal setBroadcastSiteExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void lockPresentationExCompletedEventHandler(object sender, lockPresentationExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class lockPresentationExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal lockPresentationExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void setContinuousPresenceExCompletedEventHandler(object sender, setContinuousPresenceExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class setContinuousPresenceExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal setContinuousPresenceExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void setVideoSourceExCompletedEventHandler(object sender, setVideoSourceExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class setVideoSourceExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal setVideoSourceExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void setSitesMuteExCompletedEventHandler(object sender, setSitesMuteExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class setSitesMuteExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal setSitesMuteExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void requestConfChairExCompletedEventHandler(object sender, requestConfChairExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class requestConfChairExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal requestConfChairExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void displayConfSiteLocalVideoExCompletedEventHandler(object sender, displayConfSiteLocalVideoExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class displayConfSiteLocalVideoExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal displayConfSiteLocalVideoExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    public delegate void releaseConfChairExCompletedEventHandler(object sender, releaseConfChairExCompletedEventArgs e);

    /// <remarks/>
    [System.CodeDom.Compiler.GeneratedCodeAttribute("System.Web.Services", "4.0.30319.1")]
    [System.Diagnostics.DebuggerStepThroughAttribute()]
    [System.ComponentModel.DesignerCategoryAttribute("code")]
    public partial class releaseConfChairExCompletedEventArgs : System.ComponentModel.AsyncCompletedEventArgs
    {

        private object[] results;

        internal releaseConfChairExCompletedEventArgs(object[] results, System.Exception exception, bool cancelled, object userState) :
            base(exception, cancelled, userState)
        {
            this.results = results;
        }

        /// <remarks/>
        public int Result
        {
            get
            {
                this.RaiseExceptionIfNecessary();
                return ((int)(this.results[0]));
            }
        }
    }
}